Skip to content

zend_ast: Always print encaps list variables with braces when exporting AST#22293

Open
TimWolla wants to merge 1 commit into
php:PHP-8.4from
TimWolla:zend-ast-export-encaps-list-brace
Open

zend_ast: Always print encaps list variables with braces when exporting AST#22293
TimWolla wants to merge 1 commit into
php:PHP-8.4from
TimWolla:zend-ast-export-encaps-list-brace

Conversation

@TimWolla

Copy link
Copy Markdown
Member

The "{$foo}" variant of interpolating variables into a string is the only one that reliably works all the time. Always use it for simplicity.

Fixes #22291.

…ng AST

The `"{$foo}"` variant of interpolating variables into a string is the only one
that reliably works all the time. Always use it for simplicity.

Fixes php#22291.
@TimWolla TimWolla requested a review from bukka as a code owner June 13, 2026 13:15
@TimWolla TimWolla requested a review from iluuu1994 June 13, 2026 13:18
@TimWolla TimWolla changed the title zend_ast: Always print encaps list variables with braces when exporti… zend_ast: Always print encaps list variables with braces when exporting AST Jun 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant